﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace PhoneBilling.Models
{
    public class UserEditModel
    {
        public Guid ID { get; set; }
        public bool IsNew { get; set; }

        [Required(ErrorMessage = "请输入用户名.")]
        [Display(Name = "用户名：")]
        public string Name { get; set; }

        [Required(ErrorMessage = "请输入密码.")]
        [Display(Name = "密码：")]
        public string Password { get; set; }

    }
}